package cn.wolfcode.vo;

public class JSONMessage {
    private String errcode = "200";
    private String errmsg;
    private Boolean success = true;
    private Object result;

    public JSONMessage() {
    }

    public JSONMessage(String errcode, String errmsg) {
        this.errcode = errcode;
        this.errmsg = errmsg;
    }

    public String getErrcode() {
        return errcode;
    }

    public void setErrcode(String errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
    	this.success = false;
        this.errmsg = errmsg;
    }

	public Boolean getSuccess() {
		return success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}
    
    
}
